#ifndef PUSHGATEWAY_PUSH_INIT_H
#define PUSHGATEWAY_PUSH_INIT_H

#include "php_pushgateway.h"

#include "push_execute.h"
#include "scaler.h"
#include "client.h"
#include "helper.h"

using namespace std;

#define PUSH_OLD_FN(n) static_cast<zend_function *>(zend_hash_str_find_ptr(CG(function_table), n, sizeof(n) - 1))

string server_param(string name);

void init_minit();
void init_rinit();
void init_mshutdown();
void init_rshutdown();

#endif